home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource Library: Multimedia
/
Resource Library: Multimedia.iso
/
hypertxt
/
msdos
/
hydos10
/
backup
< prev
next >
Wrap
Text File
|
1991-04-23
|
2KB
|
52 lines
BACKUP
Backs up files from one disk to another
See also <RESTORE>
COMMAND TYPE: External VERSION: 2.0 and up
USE: BACKUP d:[path][filename] d:[/S][/M][/A][/D:mm-dd-yy]
[/T:hh:mm:ss][/F:size] [/L[:[d:[path]filename]]]
d:\path\filename specifies the source drive (the drive that contains
the files that you want to back up).
The second d: specifies the destination drive (the drive to back up
the files to).
/S includes all subdirectories in the backup.
/M backs up files that have been modified since the last backup (files
with the archive bit set)
/A backs up additional files to a diskette with back up files already
on it. Without this option, all files on the backup diskette will
be destroyed.
/D:mm-dd-yy backs up files that have been modified since a specific
date.
NOTE: The following options /T, /F, and /L are new to DOS 3.3. Do not
try them with earlier versions.
/T:hh:mm:ss backs up files that have been modified on or after the
specified time on the date specified.
/F:size formats the target diskette if it is not already formatted.
"size" indicates the type of disc for the formatting program. The
following may be accepted: 160,180,320,360,1200 (kb - 5.25" discs)
or 720,1440 (kb - 3.5"discs)
/L creates a log. If a file name is not specified, the default is
BACKUP.LOG, and the file is stored in the root directory of the
source drive. If a log file exists, the information is appended to
the end of that file. The first record of the file contains:
The date of the backup The time of the backup
Subsequent records contain:
Diskette number of the backed up file. Full path and file name
of each backed up file.
Files created using the <BACKUP> command must be <RESTORE>d to be useful.
EXAMPLE: BACKUP C:\*.* A:/S
This example will back up all files (in all subdirectories) on drive
C: to drive A:.
NOTES: Do not use on drives which have been <ASSIGN>ed, <SUBST>ituted or
<JOIN>ed.